home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 1.toast / Sample Code / Human Interface Toolbox / Concordia / DrawTkl.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-09-28  |  1.9 KB  |  64 lines  |  [TEXT/CWIE]

  1. /*
  2.     File:        DrawTkl.h
  3.  
  4.     Contains:    
  5.  
  6.     Written by:     
  7.  
  8.     Copyright:    Copyright © 1991-1999 by Apple Computer, Inc., All Rights Reserved.
  9.  
  10.                 You may incorporate this Apple sample source code into your program(s) without
  11.                 restriction. This Apple sample source code has been provided "AS IS" and the
  12.                 responsibility for its operation is yours. You are not permitted to redistribute
  13.                 this Apple sample source code as "Apple sample source code" after having made
  14.                 changes. If you're going to re-distribute the source, we require that you make
  15.                 it clear in the source that the code was descended from Apple sample source
  16.                 code, but that you've made changes.
  17.  
  18.     Change History (most recent first):
  19.                 8/10/1999    Karl Groethe    Updated for Metrowerks Codewarror Pro 2.1
  20.                 
  21.  
  22. */
  23. #ifndef _drawtkl_
  24. #define _drawtkl_
  25. /******************************************************************************\
  26. * Header Files
  27. \******************************************************************************/
  28.  
  29. #ifndef __MENUS__
  30. #include <Menus.h>
  31. #endif
  32.  
  33. #ifndef __TYPES__
  34. #include <Types.h>
  35. #endif
  36.  
  37. #ifndef _concordia_
  38. #include "Concordia.h"
  39. #endif
  40.  
  41.  
  42. /******************************************************************************\
  43. * Constants and Macros
  44. \******************************************************************************/
  45.  
  46. /* SICN Resource Icon Indeces */
  47. #define topScroll 0 //Specifies top scroll arrow drawing
  48. #define botScroll 1 //Specifies bottom scroll arrow drawing
  49. #define heirArrow 2 //Specifies hierarchical arrow drawing
  50.  
  51. #define scrlIconHeight 8 //Height of scroll icon in pixels
  52.  
  53.  
  54. /******************************************************************************\
  55. * Function Prototypes
  56. \******************************************************************************/
  57.  
  58. void DoDrawMsg (MenuHandle, Rect *);
  59. void DrawItem (Str255, ItemInfoPtr, Rect *, short);
  60. void DrawScroll (Rect *, short);
  61.  
  62.  
  63. #endif
  64.